a=load('dipole_plate_PO_V.dat');
b=load('dipole_plate_MLFMA_V.dat');
c=load('dipole_plate_PO_H.dat');
d=load('dipole_plate_MLFMA_H.dat');

figure(1);
plot(b(:,1),b(:,2),'b-');
hold on;
plot(b(:,1),a(:),'r+-','MarkerSize',3);
xlabel('\theta_s');
ylabel('Directivity(V/m)');
legend('MLFMA','PO-MM Hybrid');
title('Vertical radiation pattern');

figure(2);
plot(d(:,1),d(:,2),'b-');
hold on;
plot(d(:,1),c(:),'r+-','MarkerSize',3);
xlabel('\theta_s');
ylabel('Directivity(V/m)');
legend('MLFMA','PO-MM Hybrid');
title('Horizontal radiation pattern');